﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 林宇辉
{
    class Program
    {
        static void Main(string[] args)
        {
            dog Dog = new dog();
            fish Fish = new fish();
            Dog.color();
            Dog.name();
            Dog.remove();
            Fish.color();
            Fish.name();
            Fish.remove();
            dog.bit();
            fish.tu();

            Car car = new Car();

            Console.WriteLine("输入车的名字：");
            car.Name = Console.ReadLine();

            Console.WriteLine("输入车的颜色：");
            car.Color = Console.ReadLine();

            Console.WriteLine("输入车的轮胎数");
            car.Tyre = int.Parse(Console.ReadLine());

            car.Run();
        }
    }
}
